/*******************************************OVERVIEW*******************************************************
 
 Political Shocks and Asset Prices
 
 Replication do file
 
 Figure B1: Probability-Probability Plot
 
 Version July 29 2021 
 
  
********************************************************************************************************************/

clear
set more off
#delimit ;


/*Set Directory -- You will need to adjust this line of code accordingly */; 



cd "/Users/ssaiegh/Files/Mac/UCSD/Carnahan/Shocks/Replication Files";

/*Create Log File*/;

log using "Figure B1", replace text;


/*Load Data File*/;


use "lorenz.dta";

label define TYPE 91 "V";
label define TYPE 93 "S", add;
label define TYPE 97 "I", add;
label define TYPE 98 "W", add;

label define TYPE 100 "E", add;

label var tempbin "TYPE";
label values tempbin TYPE;



twoway line cum_event cum_non || line cum_non cum_non 
|| scatter cum_event cum_non if tempbin==91, mlabel(tempbin)
|| scatter cum_event cum_non if tempbin==93, mlabel(tempbin)
|| scatter cum_event cum_non if tempbin==97, mlabel(tempbin)
|| scatter cum_event cum_non if tempbin==98, mlabel(tempbin)
|| scatter cum_event cum_non if tempbin==100, mlabel(tempbin);

log c;


